package com.sangmo.fts.training.interfaces;

import com.sangmo.boot.framework.plugin.dataview.def.meta.DataField;
import com.sangmo.boot.framework.plugin.dataview.def.meta.DataView;
import com.sangmo.fts.common.IConstants;
import com.sangmo.fts.training.model.Team;

import java.io.Serializable;
import java.util.List;

@DataView(value = Team.class)
public class ExaminationTeamCreation implements Serializable {

    private Long examinationId;

    private String name;

    @DataField(value = IConstants.DATA_TYPE.COLLECTION_1_4, required = true)
    private List<TeammateCreation> teammates;

    public Long getExaminationId() {
        return examinationId;
    }

    public void setExaminationId(Long examinationId) {
        this.examinationId = examinationId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<TeammateCreation> getTeammates() {
        return teammates;
    }

    public void setTeammates(List<TeammateCreation> teammates) {
        this.teammates = teammates;
    }
}
